class Person {
    constructor(name, age) {
        this.name = name
        this.age = age
    }

    say() {
        console.log('Hello World')
    }
}
class Star extends Person {}

const s = new Star('ifer', 18)
console.log(s)
